package com.nova.edc.service.energy;

import com.nova.edc.model.energy.Energy;
import com.nova.edc.model.energy.OverallStatistics;
import com.nova.edc.model.system.CustomerInfo;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2016/4/5 0005.
 */
public interface OverallStatisticsService {

    List<OverallStatistics> getStatistics(List<CustomerInfo> list, String date);

    void insert(List<OverallStatistics> list);

    OverallStatistics insert(OverallStatistics overallStatistics);

    Map<String, BigDecimal> getAllStatistics(List<Integer> companyCodes);

    Map<String, BigDecimal> getUnitStatistics(String startDate, String endDate);

    Energy getEnergyByCompany(int companyCode, String startDate, String endDate);

    Map<String, BigDecimal> getStatisticsByDate(Integer companycode, String startDate, String endDate);

    List<Map<String,Object>> getByMapArea(String position, Integer timeType);
}
